package com.kelaite.procurement.service;

import java.util.List;

import com.kelaite.procurement.entity.TSalesOrderPayment;

public interface SalesOrderPaymentService {
	public TSalesOrderPayment save(TSalesOrderPayment persistence);

	public void deleteByPrimaryKey(Long id);
	
	public void deleteByObject(TSalesOrderPayment persistence);

	public TSalesOrderPayment getObject(Long id);
	
	public List<TSalesOrderPayment> getAll();

	public List<TSalesOrderPayment> getByProperty(String property, Object value);
	
	public void updateSalesInvoiceStatus(Boolean isStatus1,Long salesPaymentId,int invoceStatus);
	
	public void updateSalesReportStatus(Boolean isStatus1,Long salesPaymentId,int reportStatus);
	
}
